<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>浮动定位</title>
		<!--浮动属性 float:left、right、none -->
		<style>
			div{
				width:300px;
				height:300px;
				border-radius: 50%;
				float: none;
			}
			#d1{
				background-color: #eee;
			}
			#d2{
				background-color: #55aaff;
			}
			#d3{
				background-color: #ffff7f;
				color:right;
			}
			#d4{
				background-color: #ff0000;
				color:both;
			}
		</style>
	</head>
	<body>
		<!--页面排列：左右形式---浮动、元素变成块、飘起来、父级左右点-->
		<div id="d1">1</div>
		<div id="d2">2</div>
		<div id="d3">3</div>
		<div id="d4">4</div>
	</body>
</html>